package com.itheima.blog.util.constants;

public class Constants {

    /**
     * token有效期
     * */
    public static final int EXPIRE_MINUTE = 120000000;

    /**
     * 用户类型：admin
     * */
    public static final Integer USER_TYPE_ADMIN = 1;

    /**
     * 用户类型：web
     * */
    public static final Integer USER_TYPE_WEB = 2;

    /**
     * http header userId
     * */
    public static final String HEADER_USER_ID_ADMIN = "userIdAdmin";

    /**
     * http header userId
     * */
    public static final String HEADER_USER_ID_WEB = "userIdWeb";


    /**
     * http header token admin
     * */
    public static final String HEADER_TOKEN_ADMIN = "tokenAdmin";

    /**
     * http header token web
     * */
    public static final String HEADER_TOKEN_WEB = "tokenWeb";

    /**
     * 启用
     * */
    public static final Integer STATUS_ENABLE = 1;

    /**
     * 禁用
     * */
    public static final Integer STATUS_DISABLE = 0;

}
